#pragma once
#include "json/json.h"

class ConsumerWorkModel
{
public:
	ConsumerWorkModel(void);
	~ConsumerWorkModel(void);

	ConsumerWorkModel& operator=(const ConsumerWorkModel& infoModel);

	int m_id;
	int m_consumerID;
	int m_workType;
	CString m_companyName;
	int m_duty;
	int m_monthlySalary;
	int m_workTime;
	int m_payForm; 
	int m_socialSecurityBase;
	int m_reservedFundsBase;

	void parseFromJson(Json::Value& jsonData);
	void toJson(Json::Value& jsonData);

};

